package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author by 孙有泽
 * @Date 2025/3/3 18:15
 * @Description
 */
@Mapper
public interface SetmealDishMapper {
     Integer selectByDishIds(List<Long> ids);

     void save(List<SetmealDish> setmealDishes);

    Integer selectDishStausBySetmealId(@Param("id") Long id);

    void deleteBySetmealId(@Param("id") Long id);

    List<SetmealDish> getDishBySetmealId(@Param("id") Long id);
}
